<template>
  <div class="h-top">
    <div class="centent">
      <span class="iconfont icon-shangjiantou" @click="goBack"></span>

      <!-- <b>{{ this.$route.params.xiaoming }}</b> -->
      <b>堆糖每日精选专辑</b>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    goBack() {
      this.$router.back();
    },
  },
};
</script>

<style scoped>
@import url(../../assets/font1/iconfont.css);
.h-top {
  width: 100%;
  height: 0.5rem;
  line-height: 0.5rem;
  position: fixed;
  z-index: 1;
  top: 0;
  background-color: #fff;
  border-bottom: 1px solid gainsboro;
}
.h-top .centent {
  width: 92%;
  height: 0.5rem;
  line-height: 0.5rem;
  margin: auto;
}
.h-top .centent span {
  margin-right: 0.1rem;
}
.icon-shangjiantou {
  color: red;
}
</style>